ConvertBandwidthPackage
Description
call ConvertBandwidthPackage to convert NAT bandwidth packets to shared bandwidth.
Request Method
POST
Request Path
/apsara/route/Vpc/ConvertBandwidthPackage
Request Parameters Common Parameters
Name | Location | Type | Required | Sample value | Description |
---|---|---|---|---|---|
regionId | BODY | string | Yes | No sample value for this parameter. | region id |
BandwidthPackageId | BODY | string | Yes | bwp-bp1xea10o8qxw4f**** | ID of NAT bandwidth package. |
RegionId | BODY | string | Yes | cn-qingdao-env17-d01 | the region ID where the NAT gateway is located. You can obtain the region ID by calling the DescribeRegions interface. |
ClientToken | BODY | string | No | 123e4567-e89b-12d3-a456-426655440000 | Ensure request idempotence. Generate a parameter value from your client to ensure that the parameter value is unique between different requests. ClientToken only supports ASCII characters and cannot exceed 64 characters. |
version | BODY | string | No | 2016-01-01 | version of api |
Return data
Name | Type | Sample value | Description |
---|---|---|---|
RequestId | string | 0C2EE7A8-74D4-4081-8236-CEBDE3BBCF50 | request ID. |
ConvertInstanceId | string | cbwp-s6lmotmkkf567b**** | converted shared bandwidth instance ID. |
Example
Successful Response example
{
"RequestId":"0C2EE7A8-74D4-4081-8236-CEBDE3BBCF50",
"ConvertInstanceId":"cbwp-s6lmotmkkf567b****"
}
Failed Response example
{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}
}